<?php
/**
 * Created by : PhpStorm
 * User: ZPF
 * Date: 2022/4/12
 * Time: 15:12
 */

namespace app\admin\model;


use think\Model;

class LogModel extends BaseModel
{
    protected $name = 'log';
    protected $json = ['res'];
    protected $jsonAssoc= true;

    public function admin(){
        return $this->belongsTo(AdminModel::class,'user_id');
    }
}
